package com.weixin.reflection.reflectionTest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

/**
 * @ClassName MyAnnotation
 * @Description 注解
 * @date 2022/2/21 10:29
 * @author: wx
 * @Version 1.0
 */
@Target({TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
@Retention(RetentionPolicy.RUNTIME) //运行时间
public @interface MyAnnotation {

    String Value() default "hello";

}
